package com.gooboot.kadmin.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gooboot.kadmin.base.entity.SuperEntity;
import lombok.Data;

@Data
@TableName("sys_dept")
public class Department extends SuperEntity {
    private static final long serialVersionUID = 152548464665L;

    /**
     * 上级部门ID
     */
    private String pid;

    /**
     * 下级部门数量
     */
    private int subCount;

    /**
     * 部门级别
     */
    private int level;

    /**
     * 部门名称
     */
    private String name;

}
